/*    */ package com.cr.business.service.impl;
/*    */ 
/*    */ import com.cr.business.domain.CrServiceApplicationRecord;
/*    */ import com.cr.business.mapper.CrServiceApplicationRecordMapper;
/*    */ import com.cr.business.service.ICrServiceApplicationRecordService;
/*    */ import com.cr.common.core.text.Convert;
/*    */ import com.cr.common.utils.MyDateUtils;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service
/*    */ public class CrServiceApplicationRecordServiceImpl implements ICrServiceApplicationRecordService {
/*    */   @Autowired
/*    */   private CrServiceApplicationRecordMapper crServiceApplicationRecordMapper;
/*    */   
/*    */   public CrServiceApplicationRecord selectCrServiceApplicationRecordByApplyId(Long applyId) {
/* 33 */     return this.crServiceApplicationRecordMapper.selectCrServiceApplicationRecordByApplyId(applyId);
/*    */   }
/*    */   
/*    */   public List<CrServiceApplicationRecord> selectCrServiceApplicationRecordList(CrServiceApplicationRecord crServiceApplicationRecord) {
/* 45 */     return this.crServiceApplicationRecordMapper.selectCrServiceApplicationRecordList(crServiceApplicationRecord);
/*    */   }
/*    */   
/*    */   public int insertCrServiceApplicationRecord(CrServiceApplicationRecord crServiceApplicationRecord) {
/* 57 */     crServiceApplicationRecord.setCreateTime(MyDateUtils.getNowDate());
/* 58 */     return this.crServiceApplicationRecordMapper.insertCrServiceApplicationRecord(crServiceApplicationRecord);
/*    */   }
/*    */   
/*    */   public int updateCrServiceApplicationRecord(CrServiceApplicationRecord crServiceApplicationRecord) {
/* 70 */     crServiceApplicationRecord.setUpdateTime(MyDateUtils.getNowDate());
/* 71 */     return this.crServiceApplicationRecordMapper.updateCrServiceApplicationRecord(crServiceApplicationRecord);
/*    */   }
/*    */   
/*    */   public int deleteCrServiceApplicationRecordByApplyIds(String applyIds) {
/* 83 */     return this.crServiceApplicationRecordMapper.deleteCrServiceApplicationRecordByApplyIds(Convert.toStrArray(applyIds));
/*    */   }
/*    */   
/*    */   public int deleteCrServiceApplicationRecordByApplyId(Long applyId) {
/* 95 */     return this.crServiceApplicationRecordMapper.deleteCrServiceApplicationRecordByApplyId(applyId);
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-business-4.7.0.jar!\com\cr\business\service\impl\CrServiceApplicationRecordServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */